package com.example.serverSide.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.serverSide.commom.queryData.ProfileUpdateQuery;
import com.example.serverSide.commom.queryData.SysUserAdjustQuery;
import com.example.serverSide.pojo.SysUser;

import java.util.List;

public interface SysUserService extends IService<SysUser> {
    String login(String username, String password);
    SysUser getUserInfo(String id);
    String updateProfile(ProfileUpdateQuery profileUpdateQuery);

    List<SysUser> getAllUsers();

    String adjustSysUser(SysUserAdjustQuery sysUserAdjustQuery);

    String addNewSysUser(SysUser sysUser);

    String deleteSysUser(SysUser[] sysUsers);
}
